home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4605 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  803 b 

  1. Path: twain.oit.umass.edu!ksnella
  2. From: ksnella@twain.oit.umass.edu (Kenneth A Snella)
  3. Newsgroups: comp.lang.c
  4. Subject: Passing Parameters on Exit?
  5. Date: 6 Feb 1996 01:05:57 GMT
  6. Organization: University of Massachusetts, Amherst
  7. Message-ID: <4f69hl$sp2@nic.umass.edu>
  8. NNTP-Posting-Host: twain.oit.umass.edu
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Is there any way to pass parameters out of a C program?  I'm trying to 
  12. build a system that exits a C program and executes other programs (not 
  13. always C ones), but need to pass a couple of important items to the batch 
  14. file.  Some mailers and BBS's seem to be able to do this, is there a 
  15. way?  It seems as though a call to the Borland C++ 3.1 function system() 
  16. would be able to SET an environment parameter, but it doesn't seem to 
  17. work.  Any suggestions?
  18.  
  19.